package com.sharemarking.system.dto.agreement;

import java.util.Date;

/**
 * @author dxy
 */
public class AgreementListDto {
    private Integer id;
    private String orgName;
    private String name;
    private Date expireDate;
    private String pics;
    private Integer examState;
    private String rejectReason;
    private String picsList;

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getExpireDate() {
        return expireDate;
    }

    public void setExpireDate(Date expireDate) {
        this.expireDate = expireDate;
    }

    public String getPics() {
        return pics;
    }

    public void setPics(String pics) {
        this.pics = pics;
    }

    public Integer getExamState() {
        return examState;
    }

    public void setExamState(Integer examState) {
        this.examState = examState;
    }

    public String getRejectReason() {
        return rejectReason;
    }

    public void setRejectReason(String rejectReason) {
        this.rejectReason = rejectReason;
    }

    public String[] getPicsList() {
        if (pics != null) {
            return pics.split(",");
        }
        return null;
    }

    public void setPicsList(String picsList) {
        this.picsList = picsList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
